package utils;

import android.content.Context;

import com.irisian.irissdk.IrisConfiguration;
import com.irisian.irissdk.IrisSdk;

/**
 * Created by Administrator on 2018/5/3.
 */

public class IrisUtil {
    public static boolean initSdk(Context mContext) {
        IrisConfiguration.Builder builder = new IrisConfiguration.Builder();
        builder.setQualityAssess(IrisSdk.QUALITY_ASSESS_NEW_2800);
        builder.setIrisEnrollExtractThreshold(60);
        builder.setIrisIdentifyExtractThreshold(40);
        return IrisSdk.initSdk(mContext, builder.build());
    }
}
